﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace xiaolanshu
{
    public partial class 商家功能 : Form
    {
        public 商家功能()
        {
            InitializeComponent();
        }

        private void 商家功能_Load(object sender, EventArgs e)
        {
            BackgroundImageLayout = ImageLayout.Stretch;
            label1.Text = 商家信息.ygname + "您好！\r\n\r\n请选择您想进行的操作：";
        }

        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            switch(comboBox1.Text)
            {
                case "护肤":
                    护肤评价1 f1 = new 护肤评价1();
                    f1.ShowDialog();
                    break;
                case "底妆":
                    底妆评价 f2 = new 底妆评价();
                    f2.ShowDialog();
                    break;
                default:
                    break;
            }
        }

        private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)
        {
            信息插入 f = new 信息插入();
            f.ShowDialog();
        }
    }
}
